package com.ywu.data.source.standard.source;

import com.ywu.data.source.standard.entity.YwuDataExecEntity;
import com.ywu.data.source.standard.entity.YwuDataSourceEntity;
import com.ywu.data.source.standard.entity.YwuDataTableEntity;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @ClassName YwuExecSqlCorePostGreSql
 * @Description TODO
 * @Author GroundDemo
 * @Date 2024/10/26 10:36
 * @Version 1.0
 **/
@Component
public class YwuExecSqlCorePostGreSql implements YwuExecSqlCore {
    private static final String DATA_SOURCE_TYPE_POST_GRE_SQL = "PostgreSQL";

    @Override
    public String dataSourceType() {
        return DATA_SOURCE_TYPE_POST_GRE_SQL;
    }

    /**
    * @Author GroundDemo
    * @Description 创建PG数据源
    * @Date 10:37 2024/10/26
    * @Param [entity]
    * @return void
    **/
    @Override
    public void createDataSource(YwuDataSourceEntity entity) {

    }

    /**
     * @Author GroundDemo
     * @Description 修改PG数据源
     * @Date 10:37 2024/10/26
     * @Param [entity]
     * @return void
     **/
    @Override
    public void updateDataSource(YwuDataSourceEntity entity) {

    }

    /**
     * @Author GroundDemo
     * @Description 删除PG数据源
     * @Date 10:37 2024/10/26
     * @Param [entity]
     * @return void
     **/
    @Override
    public void deleteDataSource(YwuDataSourceEntity entity) {

    }

    /**
     * @Author GroundDemo
     * @Description 创建数据表
     * @Date 17:35 2024/10/28
     * @Param [ywuDataTableEntity]
     * @return void
     **/
    @Override
    public void createTable(YwuDataTableEntity ywuDataTableEntity) {

    }

    /**
     * @Author GroundDemo
     * @Description 修改数据表
     * @Date 17:35 2024/10/28
     * @Param [ywuDataTableEntity]
     * @return void
     **/
    @Override
    public void updateTable(YwuDataTableEntity oldEntity, YwuDataTableEntity newEntity) {

    }

    /**
     * @Author GroundDemo
     * @Description 删除数据表
     * @Date 17:35 2024/10/28
     * @Param [ywuDataTableEntity]
     * @return void
     **/
    @Override
    public void deleteTable(YwuDataTableEntity ywuDataTableEntity) {

    }

    /**
     * @Author GroundDemo
     * @Description 插入数据
     * @Date 14:17 2024/11/20
     * @Param [ywuDataExecEntity]
     * @return void
     **/
    @Override
    public void insertIntoInfo(YwuDataExecEntity ywuDataExecEntity) {

    }

    /**
     * @Author GroundDemo
     * @Description 删除数据
     * @Date 14:17 2024/11/20
     * @Param [ywuDataExecEntity]
     * @return void
     **/
    @Override
    public void deleteInfo(YwuDataExecEntity ywuDataExecEntity) {

    }

    /**
     * @Author GroundDemo
     * @Description 修改数据
     * @Date 14:17 2024/11/20
     * @Param [ywuDataExecEntity]
     * @return void
     **/
    @Override
    public void updateInfo(YwuDataExecEntity ywuDataExecEntity) {

    }

    /**
     * @Author GroundDemo
     * @Description 查询数据
     * @Date 14:17 2024/11/20
     * @Param [ywuDataExecEntity]
     * @return java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
     **/
    @Override
    public List<Map<String, Object>> queryInfo(YwuDataExecEntity ywuDataExecEntity) {
        return null;
    }

    /**
     * @Author GroundDemo
     * @Description 复杂查询
     * @Date 15:52 2025/9/13
     * @Param [ywuDataExecEntity]
     * @return java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
     **/
    @Override
    public List<Map<String, Object>> complexQueryInfo(YwuDataExecEntity ywuDataExecEntity) {
        return null;
    }
}
